#include <crbprofiler.hpp>

CRBPROFILERSTART("mso_fnc_dominationMenuEntries");

private ["_results"];
// The result is in the format:
//  array	[
//				["Menu Title 1","function call"],
//				["Menu Title 2","function call"]
//			]
_results = ["DOM_ACTION_MENU",[player]] call tyr_fnc_execHandler;
if (isnil "_results" || {typename _results != typename []}) then {
	_results = [];
};
//diag_log format["mso_fnc_dominationMenuEntries: %1",_results];
CRBPROFILERSTOP;
_results;